package csu.web.mypetstore.service;

import com.baomidou.mybatisplus.extension.service.IService;
import csu.web.mypetstore.pojo.Orders;

import java.util.List;

/**
* @author 18632
* @description 针对表【orders】的数据库操作Service
* @createDate 2025-03-10 17:03:47
*/
public interface OrdersService extends IService<Orders> {

     List<Orders>  queryAllOrders();
     int insertOrder(Orders orders);
     void insertOrderStatus(Orders order);
     void updateOrder(Orders order);
     void deleteOrder(int orderId);
     List<Orders> getOrdersByUsername(String username);
     Orders getOrder(int orderId);
     void deleteOrderDetail(int orderId);




}
